package org.jeecg.modules.crm.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: Rebate/Discount Package
 * @Author: jeecg-boot
 * @Date:   2025-04-15
 * @Version: V1.0
 */
@Data
@TableName("rebate_discount_package")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="rebate_discount_package对象", description="Rebate/Discount Package")
public class RebateDiscountPackage implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**Package Name */
	@Excel(name = "Package Name ", width = 15)
    @ApiModelProperty(value = "Package Name ")
    private String name;
	/**Package Date From*/
	@Excel(name = "Package Date From", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "Package Date From")
    private Date dateFrom;
	/**Package Date To*/
	@Excel(name = "Package Date To", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "Package Date To")
    private Date dateTo;
	/**Package Deduct From*/
	@Excel(name = "Package Deduct From", width = 15)
    @ApiModelProperty(value = "Package Deduct From")
    @Dict(dicCode = "deductfrom")
    private String deductFrom;
	/**Package Amount*/
	@Excel(name = "Package Amount", width = 15)
    @ApiModelProperty(value = "Package Amount")
    private String amount;
	/**AmountType*/
	@Excel(name = "AmountType", width = 15)
    @ApiModelProperty(value = "AmountType")
    @Dict(dicCode = "Commission")
    private String amountType;
	/**Package Deduct Type*/
	@Excel(name = "Package Deduct Type", width = 15)
    @ApiModelProperty(value = "Package Deduct Type")
    @Dict(dicCode = "DeductType")
    private String deductType;
	/**Package Display Sequence */
	@Excel(name = "Package Display Sequence ", width = 15)
    @ApiModelProperty(value = "Package Display Sequence ")
    private String sequence;
	/**Main_id*/
	@Excel(name = "Main_id", width = 15)
    @ApiModelProperty(value = "Main_id")
    private String mainId;
}
